package cn.fetosoft.rooster.demo.job;

import cn.fetosoft.rooster.core.AbstractScheduled;
import cn.fetosoft.rooster.core.TaskInfo;
import org.springframework.stereotype.Component;

/**
 * @author guobingbing
 * @wechat t_gbinb
 * @since 2021/8/14 21:09
 */
@Component
public class DefaultScheduled extends AbstractScheduled {

    @Override
    protected boolean isClusterExec(TaskInfo taskInfo) {
        return true;
    }
}
